gdksurface-win32.c: Decouple mapped state from surface creation
authorChun-wei Fan <fanchunwei@src.gnome.org>
Fri, 11 Dec 2020 02:29:28 +0000 (10:29 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Mon, 11 Jan 2021 09:53:38 +0000 (17:53 +0800)
commit291ad17a226f345835906066cb027f097cedfe18
treec04da1255c3de48b89b200f3983e051903d1bae8
parent506423cf23be826851715c97be976278b15d65b9
gdksurface-win32.c: Decouple mapped state from surface creation

In line with what is done with the Wayland backend, enable the mapped state
independently as needed from the toplevel surface presentation, and also enable
the mapped state if necessary when presenting the popup surface.
gdk/win32/gdksurface-win32.c